package com.bdqn.entity;

import java.sql.Timestamp;

/**
 * Log entity. @author MyEclipse Persistence Tools
 */

public class Log implements java.io.Serializable {

	// Fields

	private Integer logId;
	private Event event;
	private User user;
	private String logContent;
	private Timestamp putInTime;

	// Constructors

	/** default constructor */
	public Log() {
	}

	/** full constructor */
	public Log(Event event, User user, String logContent, Timestamp putInTime) {
		this.event = event;
		this.user = user;
		this.logContent = logContent;
		this.putInTime = putInTime;
	}

	// Property accessors

	public Integer getLogId() {
		return this.logId;
	}

	public void setLogId(Integer logId) {
		this.logId = logId;
	}

	public Event getEvent() {
		return this.event;
	}

	public void setEvent(Event event) {
		this.event = event;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getLogContent() {
		return this.logContent;
	}

	public void setLogContent(String logContent) {
		this.logContent = logContent;
	}

	public Timestamp getPutInTime() {
		return this.putInTime;
	}

	public void setPutInTime(Timestamp putInTime) {
		this.putInTime = putInTime;
	}

}